/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.oop;

/**
 * <p>Project: javaseapp - User
 * <p>Powered by webrx On 2021-08-05 08:53:47
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */

public class User {
    public int id;
    public String name;

    static {
        System.out.println("User static{}");
    }

    public User() {
        System.out.println("User()");
    }

    public User(String name) {
        this.name = name;
        System.out.println(name);
    }

    public int pf(int i) {
        System.out.println("user");
        return i * i;
    }
}
